package com.ruoyi.field.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 场地对象 t_field
 * 
 * @author HuLongHui
 * @date 2023-02-18
 */
public class Field extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场地id */
    private Long fieldId;

    /** 场馆id */
    @Excel(name = "场馆id")
    private Long venueId;

    /** 场地名称 */
    @Excel(name = "场地名称")
    private String fieldName;

    /** 场地地址 */
    @Excel(name = "场地地址")
    private String fieldAddress;

    /** 场地介绍 */
    @Excel(name = "场地介绍")
    private String fieldIntroduce;

    /** 场地状态(0空闲中，1已预约，2维修中，3使用中 4已关闭)  */
    @Excel(name = "场地状态(0空闲中，1已预约，2维修中，3使用中 4已关闭) ")
    private String fieldState;

    /** 管理员 */
    @Excel(name = "管理员")
    private String administrators;

    /** 管理员手机号 */
    @Excel(name = "管理员手机号")
    private String administratorMobile;


    /** 场馆名称 */
    @Excel(name = "场馆名称")
    private String venueName;

    /** 场馆地址 */
    @Excel(name = "场馆地址")
    private String venueAddress;
    /** 场馆最大接待人数 */
    @Excel(name = "场馆最大接待人数")
    private Long venueMaxPeople;
    /** 场馆介绍 */
    @Excel(name = "场馆介绍")
    private String venueIntroduce;
    /** 开馆时间 */
    @Excel(name = "开馆时间")
    private String venueStartTime;

    /** 闭馆时间 */
    @Excel(name = "闭馆时间")
    private String venueEndTime;

    private Date time;

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getVenueName() {
        return venueName;
    }

    public void setVenueName(String venueName) {
        this.venueName = venueName;
    }

    public String getVenueAddress() {
        return venueAddress;
    }

    public void setVenueAddress(String venueAddress) {
        this.venueAddress = venueAddress;
    }

    public Long getVenueMaxPeople() {
        return venueMaxPeople;
    }

    public void setVenueMaxPeople(Long venueMaxPeople) {
        this.venueMaxPeople = venueMaxPeople;
    }

    public String getVenueIntroduce() {
        return venueIntroduce;
    }

    public void setVenueIntroduce(String venueIntroduce) {
        this.venueIntroduce = venueIntroduce;
    }

    public String getVenueStartTime() {
        return venueStartTime;
    }

    public void setVenueStartTime(String venueStartTime) {
        this.venueStartTime = venueStartTime;
    }

    public String getVenueEndTime() {
        return venueEndTime;
    }

    public void setVenueEndTime(String venueEndTime) {
        this.venueEndTime = venueEndTime;
    }

    public void setFieldId(Long fieldId)
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId()
    {
        return fieldId;
    }
    public void setVenueId(Long venueId)
    {
        this.venueId = venueId;
    }

    public Long getVenueId()
    {
        return venueId;
    }
    public void setFieldName(String fieldName)
    {
        this.fieldName = fieldName;
    }

    public String getFieldName()
    {
        return fieldName;
    }
    public void setFieldAddress(String fieldAddress)
    {
        this.fieldAddress = fieldAddress;
    }

    public String getFieldAddress()
    {
        return fieldAddress;
    }
    public void setFieldIntroduce(String fieldIntroduce)
    {
        this.fieldIntroduce = fieldIntroduce;
    }

    public String getFieldIntroduce()
    {
        return fieldIntroduce;
    }
    public void setFieldState(String fieldState)
    {
        this.fieldState = fieldState;
    }

    public String getFieldState()
    {
        return fieldState;
    }
    public void setAdministrators(String administrators)
    {
        this.administrators = administrators;
    }

    public String getAdministrators()
    {
        return administrators;
    }
    public void setAdministratorMobile(String administratorMobile)
    {
        this.administratorMobile = administratorMobile;
    }

    public String getAdministratorMobile()
    {
        return administratorMobile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("fieldId", getFieldId())
                .append("venueId", getVenueId())
                .append("fieldName", getFieldName())
                .append("fieldAddress", getFieldAddress())
                .append("fieldIntroduce", getFieldIntroduce())
                .append("fieldState", getFieldState())
                .append("administrators", getAdministrators())
                .append("administratorMobile", getAdministratorMobile())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
